#{extends 'main.html' /} #{set title:'CoolSoft - Meeting Requests' /}


<br>
<a  href="@{Projects.showProject(project.id)}" >Back to Project Page</a>
<br>
<br> 
 Approve or Reject:
<br>

#{list items: list, as:'meeting' }

<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("#"+${meeting.id}).hide();

  $("#a"+${meeting.id}).mouseenter(function(){
  $("#"+${meeting.id}).show("slow");	
  });
   $("#a"+${meeting.id}).mouseleave(function(){
  $("#"+${meeting.id}).hide("slow");	
  });
 
});

</script>

<ul id=a${meeting.id}> 
<a >Meeting name: ${meeting.name} </a> 
<br>
<a > Description:  ${meeting.description}</a>
<br>
<a> Date And Time: ${meeting.startDate.getTime()}</a>
<br>
#{if  meeting.sprint}
<a> Associated to : ${meeting.sprint.name}</a>
<br>
<a>Associated to description: ${meeting.sprint.description}</a>
#{/if}
<div id=${meeting.id}  >
#{form @Events.AcceptRequest(meeting.id)}
<input id="accept" type="submit" value="Accept"  />
#{/form}

#{form @Events.RejectRequest(meeting.id)}
<input id="reject" type="submit" value="Reject" />
#{/form}
</div>
</ul>
#{/list}




